

const GlobalOption = {
	down: {
		
		offset: 80, 
		native: false 
	},
	up: {
		
		offset: 150, 
		toTop: {
			
			src: "https://www.mescroll.com/img/mescroll-totop.png", 
			offset: 1000, 
			right: 20, 
			bottom: 120, 
			width: 72 
		},
		empty: {
			use: true, 
			icon: "/static/assets/images/kong.png", 
			height: '700rpx' 
		}
	},
	
	i18n: {
		
		zh: {
			down: {
				textInOffset: '下拉刷新', 
				textOutOffset: '释放更新', 
				textLoading: '加载中 ...', 
				textSuccess: '加载成功', 
				textErr: '加载失败', 
			},
			up: {
				textLoading: '加载中 ...', 
				textNoMore: '-- END --', 
				empty: {
					tip: '这里空空如也'
				}
			}
		},
		
		en: {
			down: {
				textInOffset: 'drop down refresh',
				textOutOffset: 'release updates',
				textLoading: 'loading ...',
				textSuccess: 'loaded successfully',
				textErr: 'loading failed'
			},
			up: {
				textLoading: 'loading ...',
				textNoMore: '-- END --',
				empty: {
					tip: '~ absolutely empty ~'
				}
			}
		}
	}
}

export default GlobalOption
